package com.ssm.service.impl;

import com.ssm.dao.SceneryDao;
import com.ssm.pojo.Scenery;
import com.ssm.service.SceneryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sun.applet.Main;

import java.util.List;

@Service
public class SceneryServiceImpl implements SceneryService{
    @Autowired
    private SceneryDao sceneryDao;


    @Override
    public List<Scenery> getScenery() {
        return sceneryDao.getScenery();
    }
}
